# Overlay thresholded mask images onto original image for comparison. Multiple images are opened one after
# another, need to stop Python console to break out.

import img_util.plot

# Define IO paths
dropbox_basedir = 'C:/Users/timhc/Dropbox/Work/Kang Lab/Exp/IHC folder/'
cellpose_mask_dir = dropbox_basedir + 'cellpose mask/'
img_basedir = dropbox_basedir + 'crop img/'
img_save_basedir = dropbox_basedir + 'img_w_masks/'

mask_img_dir = dropbox_basedir + 'mask check/'
img_util.plot.plot_threshold_mask_vs_orig_img(mask_img_dir, img_basedir, cellpose_mask_dir,
                                              show_unthresh_mask=True)
